
using System;

class ErrorCodeDef
{
	//# 无错误
	public const Int32 No = 0;
	//# 不在空闲状态中
	public const Int32 NoInIdle = 1;
	//# 房间不存在
	public const Int32 RoomNoExist = 2;
	//# 不在匹配中
	public const Int32 NoInMatch = 3;
	//# 已经在匹配中了
	public const Int32 AlreadyInMatch = 4;
	//# 房间已经存在
	public const Int32 RoomAlreadyExist = 5;
	//# 已经在其他房间中了
	public const Int32 AlreadInOtherRoom = 6;
	//# 房间满了
	public const Int32 RoomFull = 7;
	//# 没有空房间，请过一会儿(5s)在创建
	public const Int32 NoEmptyRoom = 8;
	//# 不在房间中
	public const Int32 NoInRoom = 9;
	//# 名字已经存在
	public const Int32 AlreadyExistName = 10;
};